//
//  ViewController.h
//  TestNearByS
//
//  Created by apple on 15/9/6.
//  Copyright (c) 2015年 CXM. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MultipeerConnectivity/MultipeerConnectivity.h>

@interface ViewController : UIViewController<MCSessionDelegate,MCNearbyServiceAdvertiserDelegate,MCNearbyServiceBrowserDelegate>


@property MCPeerID *peerID;

@property MCSession * session;

@property MCNearbyServiceAdvertiser *advertiser;

@property (weak, nonatomic) IBOutlet UILabel *status;

@property (weak, nonatomic) IBOutlet UITextField *sendText;
@property (weak, nonatomic) IBOutlet UIButton *sendButton;
@property (weak, nonatomic) IBOutlet UITextView *chatTextView;


@property MCNearbyServiceBrowser *browser;

@end

